package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产计划管理对象 prduction_plan
 * 
 * @author liukangzu
 * @date 2025-04-17
 */
public class PrductionPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生产计划id */
    @Excel(name = "生产计划id")
    private Integer prductionPlanId;

    /** 预制菜id */
    @Excel(name = "预制菜id")
    private Integer prductionPlanPremaidFoodId;

    /** 计划产量 */
    @Excel(name = "计划产量")
    private Integer prductionPlanCount;

    /** 计划生产时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划生产时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prductionPlanTime;

    /** 计划状态（0取消，1计划生产，2计划完成） */
    @Excel(name = "计划状态", readConverterExp = "0=取消，1计划生产，2计划完成")
    private Integer prductionPlanStatic;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Integer prductionPlanUserId;

    /** 负责人 */
    @Excel(name = "负责人")
    private SysUser user;

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }
    /** 预制菜品类 */
    @Excel(name = "预制菜品类")
    private PremaidFood premaidFood;

    public PremaidFood getPremaidFood() {
        return premaidFood;
    }

    public void setPremaidFood(PremaidFood premaidFood) {
        this.premaidFood = premaidFood;
    }

    public void setPrductionPlanId(Integer prductionPlanId)
    {
        this.prductionPlanId = prductionPlanId;
    }

    public Integer getPrductionPlanId() 
    {
        return prductionPlanId;
    }

    public void setPrductionPlanPremaidFoodId(Integer prductionPlanPremaidFoodId) 
    {
        this.prductionPlanPremaidFoodId = prductionPlanPremaidFoodId;
    }

    public Integer getPrductionPlanPremaidFoodId() 
    {
        return prductionPlanPremaidFoodId;
    }

    public void setPrductionPlanCount(Integer prductionPlanCount) 
    {
        this.prductionPlanCount = prductionPlanCount;
    }

    public Integer getPrductionPlanCount() 
    {
        return prductionPlanCount;
    }

    public void setPrductionPlanTime(Date prductionPlanTime) 
    {
        this.prductionPlanTime = prductionPlanTime;
    }

    public Date getPrductionPlanTime() 
    {
        return prductionPlanTime;
    }

    public void setPrductionPlanStatic(Integer prductionPlanStatic) 
    {
        this.prductionPlanStatic = prductionPlanStatic;
    }

    public Integer getPrductionPlanStatic() 
    {
        return prductionPlanStatic;
    }

    public void setPrductionPlanUserId(Integer prductionPlanUserId) 
    {
        this.prductionPlanUserId = prductionPlanUserId;
    }

    public Integer getPrductionPlanUserId() 
    {
        return prductionPlanUserId;
    }

    @Override
    public String toString() {
        return "PrductionPlan{" +
                "prductionPlanId=" + prductionPlanId +
                ", prductionPlanPremaidFoodId=" + prductionPlanPremaidFoodId +
                ", prductionPlanCount=" + prductionPlanCount +
                ", prductionPlanTime=" + prductionPlanTime +
                ", prductionPlanStatic=" + prductionPlanStatic +
                ", prductionPlanUserId=" + prductionPlanUserId +
                ", user=" + user +
                ", premaidFood=" + premaidFood +
                '}';
    }
}
